home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / pppconfig.postrm < prev    next >
Text File  |  2008-05-27  |  593b  |  24 lines

  1. #!/bin/sh
  2.  
  3. # $Id: postrm,v 1.1.1.1 2004/05/07 03:12:59 john Exp $
  4.  
  5. # Postrm for pppconfig by John Hasler 1999-2003
  6. # Any possessor of a copy of this program may treat it as if it
  7. # were in the public domain.  I waive all rights.
  8.  
  9. set -e
  10.  
  11. if [ "$1" = "purge" ] ; then
  12.         rm -rf /var/lib/pppconfig
  13.     rm -rf /etc/ppp/resolv
  14.     rm -rf /var/cache/pppconfig
  15.     rm -rf /var/cache/pppconfig/resolv*
  16.     rm -rf /var/cache/pppconfig/0dns*
  17.     rmdir /var/cache/pppconfig || true
  18.         update-rc.d dns-clean remove > /dev/null
  19. fi
  20. if [ -x /usr/bin/update-menus ] ; then
  21.         /usr/bin/update-menus
  22. fi
  23. exit 0
  24.